import request from "@/utils/request";

export function notice_list(query) {
  //公告信息查询-分页
  return request({
    url: "/api/notice/list",
    method: "post",
    data: query
  });
}

export function notice_edit(query) {
  //修改notice接口
  return request({
    url: "/api/notice/edit",
    method: "post",
    data: query
  });
}

export function notice_save(query) {
  //修改notice接口
  return request({
    url: "/api/notice/save",
    method: "post",
    data: query
  });
}

export function notice_delete(query) {
  //根据id删除
  return request({
    url: "/api/notice/delete",
    method: "post",
    data: query
  });
}
export function notice_deleteAll(query) {
  return request({
    url: "/api/notice/deleteAll",
    method: "post",
    data: query
  });
}
export function notice_updateTopStatus(query) {
  //根据id删除
  return request({
    url: "/api/notice/updateTopStatus",
    method: "post",
    data: query
  });
}
